package com.sky.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * ClassName: MyTask
 * Package: com.sky.task
 * Description:
 *
 * @Author 那啥啥
 * @Create 2024/3/20  16:19
 * @Version 1.0
 */
@Component
@Slf4j
public class MyTask {

    /**
     * 入门每五秒执行一次
     */
//  @Scheduled(cron = "*/5 * * * * ?")
/*    public void task1(){
        System.out.println("spring task 入门");
    }*/






}
